<template>
  <!-- 头部 -->
  <el-card class="head-card">
    <!-- layout布局 -->
    <el-row type="flex" justify="space-between">
      <!-- 左侧 -->
      <el-col :span="6">
        <slot name="before" />
      </el-col>
      <!-- 右侧 -->
      <el-col class="right-col" :span="6">
        <slot name="after" />
      </el-col>
    </el-row>
  </el-card>
</template>

<script>
export default {
  name: 'PageTools'
}
</script>

<style>
.right-col {
  text-align: right;
}
</style>
